The double bond from the alkenes goes to a H+ ions from the catalyst which breaks the bond. There's a missing bond on the carbon so the pair of electrons on the oxygen on the water goes to the carbon. Now there's too many bonds on the oxygen so the bond from a hydrogen goes to it and that is used to reform catalyst