Catherine will stay in hospital for up to 14 days, and both she and William have cancelled royal duties.