Everyone entering The Shard will go through a security process. All bags will be scanned, and any dangerous items will be removed.
Strollers must be left downstairs. There's a lift to the first viewing level, and then stairs, so your prams and buggies wouldn't make it all the way up.
You are permitted to carry water and snacks inside.