You can analyze the bio gas by GC with, twoTCD detectors (1st may be for CO, CH4, CO2, O2, N2, HC and 2nd TCD fully dedicated for H2,) and FPD for H2S gas detection.
similarly you can use online gas analyzer for real-time gas analysis.
Use a stainless steel column packed with Porapack Q/ Carbowex 80/100 mesh (2 m X 3.53 cm X 2 mm) with Argon as carrier gas. TCD detector. You can detect all gases in biogas including H2 and H2S in a single run.