Method for producing biomass using hydrogen-oxidizing bacteria