Question: how many hydrogen atoms are on the reactants side?
Answer: There are now four hydrogen atoms in the reactants and also four atoms of hydrogen in the product. There are two oxygen atoms in the reactants and two atoms of oxygen in the product. The law of conservation of matter has been satisfied.