To save contacts to an iCloud account, go to Settings, click Contacts, then Accounts. Turn on Contacts for your iCloud account. Go back to Accounts and Contacts, select your iCloud account as the default so new contacts are automatically saved to iCloud.