Indian goalkeeper Dheeraj was instrumental in keeping Ghana's attackers in check as the hosts kept the opposition at bay in the first half but at the stroke of half-time Indians lost concentration as Ghana struck.
Ayiah stuck again in the 52nd minute to put Ghana firmly in control as India kept losing possession.
India's game fell apart as Ghana kept attacking India in the box. Substitute Richard Danso made it 3-0 in the 86th minute and a minute later Emmanuel Toku made it 4-0 for the visitors.
India lost all three matches in the tournament against the United States, Columbia and Ghana to bow out of the U-17 World Cup tournament.