The Duke and Duchess of Sussex and their two children will attend next month's Platinum Jubilee celebrations.