Indian Prime Minister Narendra Modi has promised to set up fast-track courts to punish those involved in question paper leaks.