It depends if you have had chicken pox. You can get chicken pox from shingles but not the other way round. If you have had chicken pox then being around someone with shingles shouldn't be as problem as long as you didn't touch the affected area.
When I went to a walk-in centre with shingles they wouldn't even let me through to the consulting room area because a pregnant woman was there. The doctor came out and dealt with me in the waiting room.
So I'd say they're kinda keen on no contact.
Suggest you ask a HCP (doctor, midwife, NHS Direct) what the concerns actually are.
Just because you have had chicken pox does not necessarily mean you are going to be immune. Be really careful and stay clear if possible. It might be worth contacting your midwife if you think you have been exposed as they can arrange a blood test for antibodies.