The Duchess of Cambridge has been co-hosting a royal reception at Buckingham Palace - her first public appearance since announcing her pregnancy last month.