A gaseous compound having carbon, hydrogen and oxygen was burnt in the presence of oxygen. After combustion, 1 volume of the gaseous compound produces 2 volumes of CO\(_2\) and 2 volumes of steam. Determine the molecular formula of the compound, if all the volumes were measured under the same conditions of pressure and temperature.