Police have charged two men in connection with a burglary at Prince William and Kate Middleton's country mansion.