I have an application where i need to take the mobile number of users upon registration, and then verify the phone number by sending a pin code to his number. Is this against apple's policies?
No that is not against Apple's Policies, apps such as WhatsApp do this.
However, according to Apple's Human Interface Guidelines you should delay sign up as long as possible and also explain why such information is necessary for your app.