A three-year-old boy died and about 30 people took ill after allegedly drinking contaminated water in Raichur district, following which Karnataka Chief Minister Siddaramaiah on Sunday instructed officials to take immediate measures, including ensuring proper treatment to those hospitalised and providing compensation to the family of the deceased child.