Reduction or decomposition of gaseous compounds