Hydrogen reduces the oxides of the less active metals, viz. removes oxygen from strongly heated metal oxides when passed over them, and in the process gets oxidized itself to water.
Both alkali metals and Hydrogen acts as a reducing agent which is proved by the following reactions:-
CuO + H2 Cu + H2O
CuO + 2Na Cu + Na2O
In both cases CuO is oxidised.