There's no evidence that washing your hands with cold or hot water makes a difference to killing bacteria. The important thing is to use soap, whatever the temperature of the water.