In the given reactions,
1. I2+H2O2+2OH−→2I−+2H2O+O2
2. H2O2+HOCl→Cl−+H3O++O2
H2O2 acts as a reducing agent in both the reactions
In the first reaction, I is reduced from 0 to -1 oxidation state.
In the second reaction, Cl is reduced from +1 to -1 oxidation state.
Hence, in both the reactions, H2O2 acts as a reducing agent.