Your link is unavailabe..
When clicked it tells to ask permission.
But what we have here is a picking problem.
If you want to select two random instances of hydrogen it would be as easy as
repeat two times
pick random instance of hydrogen.
so:
energy on collision with oxygen
energy destroy
oxygen destroy
- (subevent) repeat two times
-- system pick random instance of hydrogen
hydrogen destroy