The correct option is A 0
The oxidation number of an element in its elementary form or uncombined state is zero.
Here, O2 and H2 are elementary states of oxygen and hydrogen so there oxydation no. is 0 and 0 in O2 and H2 respectively.
So, sum of oxidatoin numbers =0+0=0.