Do not get emotional but tell me that your friends have any bad habit due to which they say that you should keep your self away.
Tell me then your parents are right you should obey them.
If not Then you can see your friend only in the school that is enough. Do not call them & talk about them at home. I think with the passage of time you will compromise.