Ultrapure Hydrogen and oxygen production