India topped Group B at the U19 World Cup and will face Pakistan in the Super Six after a strong group-stage campaign.