NOVELTY - Producing of hydrogen and methane, comprises pre-processing milk cow garbage by mixing milk cow excrement and phosphoric acid, regulating pH of mixture using sodium hydroxide, subjecting the mixture to anaerobic fermentation operation to obtain hydrogen, subjecting the cow excrement to domestication on methanobacteria and anaerobic domestication operation using anaerobic activated sludge, separating fermented liquid by centrifugation, obtaining separated sludge as inoculum for producing methane and collecting hydrogen producing liquid-phase.    USE - The method is useful for producing hydrogen and methane for producing biomass energy.    ADVANTAGE - The method is cost-effective and environmentally-friendly.    DETAILED DESCRIPTION - Producing hydrogen and methane, comprises (a) pre-processing milk cow garbage by phosphoric acid processing method or sodium hydroxide processing method, (i) phosphoric acid processing method comprises mixing milk cow excrement and phosphoric acid in ratio of 100 (ml): 0.625-1.875 (mass), maintaining the mixture (M1) for 2 hours at 30-40 degrees C, and regulating pH of mixture using sodium hydroxide to 6.5, or (ii) sodium hydroxide processing method comprises mixing milk cow excrement and sodium hydroxide in ratio of 100 (ml):1-2.5 (mass), maintaining the mixture (M2) for 2 hours at 30-40 degrees C and regulating pH of the mixture using hydrochloric acid to 6-7, (b) subjecting the obtained mixture (M1) or (M2) to anaerobic fermentation operation and removing oxygen from fermentation container using nitrogen sweeping mode at 30-40 degrees C to obtain hydrogen, (c) performing domestication on methanobacteria by obtaining fresh milk cow excrement (100 parts by volume) as the base material, regulating pH of material to 7.0, performing anaerobic domestication operation using anaerobic activated sludge (10 parts by volume) at 37 degrees C, separating fermented liquid by centrifugation at the end of the gas producing process and obtaining the separated sludge as inoculum for producing the methane, and (d) collecting the hydrogen producing liquid-phase at the end of production of the hydrogen and the methane.