I really struggle with that too. However I've found it's helped a lot to be open with my friends and family about what we're going through - otherwise how can they be sensitive and supportive? Most of them have been really understanding since, and it just helps to take the pressure off or having to put on a front.
The pregnant/mother ones know I'm happy for them but that I find it hard if everyone's talking about it all the time, and that I don't want to be involved in baby activities, etc. Those who might have announcements in the future know not to tell us in person and put us on the spot, which stops us being so nervous at social events and things.
It's still hard though, and I tend to avoid people who don't know about what's going on and might suddenly make an announcement or start asking us annoying or inappropriate nosy questions! But by now most of our close friends and family know, so it's only 'outsiders' we have to worry about. Like my neighbour who's due next week, sigh.
Anyway, it's important to look yourself and protect your feelings. Remember you're the one going through this and none of it is your fault - you're perfectly entitled to feel upset or jealous, and if they're good friends they'll understand.
And as @Rspu3 says, you're not alone, as much as I know it really feels like it sometimes!