Welcome to Healthcaremagic.
Based on the description of the rash
I suspect it to be due to fungal infection
.Do consult a dermatologist
who shall examined and confirm the diagnosis.
Meanwhile do apply a Ketaconazole dusting powder which can hold the infection from spreading.
Wish you good health.