Why do alkali metal explode when exposed to water?

Because they decompose the water to pure hydrogen and oxygen. The hydrogen is a flammable gas and the oxygen is the oxidizing agent that reacts together in an explosive manner.
Caesium