It uses your credentials to connect to Apple's iCloud servers directly over a secure connection, in order to keep 2Do's local data synchronized with that in the cloud. The login and password itself are stored in the System Keychain. At no point in time does 2Do establish any connection with any other service / server.