Hydrogen production and waste processing