The Duke and Duchess of Cambridge are planning a three-day visit to California, where security has been notched up.