@Swati2302,
If your best friend is truly your best friend, he will understand whatever reason you give for not going. Tell him the truth, that you don't think you can talk to your boyfriend about the invitation.
A true friend will understand and accept that.
__
On the flip side, you want to take some time and think about why you have a boyfriend who you do not think trusts you to spend time away with another man.