Membranes for CO2 separation in blue hydrogen production