In order to check your credentials for the MT4 account, in the app please go to Account -> My accounts and click on the Login details next to the MT4 account.
On the web version please go to Settings -> My accounts and click on the Login details next to the MT4 account.
The password should be the same as the one you use to log in to the Capital.com platform.