Prime Minister David Cameron, David Beckham and the Duke of Cambridge are to be portrayed together on stage in a new comedy production shown at the Edinburgh Fringe this summer.