Adding hot water or hot coffee to chocolate cake batter helps to bloom the cocoa powder which basically means it helps bring out the flavor of the cocoa powder by waking it up a bit.