High-purity hydrogen production with in situ CO2 capture based on biomass gasification