The government says overseas citizens who study in the UK can stay for two years after graduating.