The reaction between hydrogen and oxygen to produce water gives off heat. What is the source of this heat? how could this heat be measure?

Combustion reactions produce heat. This is a combustion reaction. It can be measured with a calorimeter.