To find the necessary power, we need to know how much water is flowing every second, and how much energy we need to heat that amount of water.
Amount of water = 6kg per minute = 6/60 kg per second = 0.01 kg per second
energy to heat 0.01kg of water: Q = mCΔT = 0.01 x 4200 x 20= 840J
and so to do that every second the shower needs 840W of power.