Hydrogen production from acid- and ammonia-pretreated biomass