Hydrogen production with CCS