Former England captain Sir David Beckham will be among those accepting honours as he receives a knighthood at Windsor Castle.