As a minimum, delete the two Apps. A better approach would be to completely reset the iPad - and setup again “as new”.
If you can, log-in to your AppleID from another device - and change your password.
If the iPad has not automatically updated its iCloud backup since installing the two Apps, immediately disconnect external power if connected (this effectively inhibits the auto-backup process) and disable iCloud backups - before the backup process can run. After the full device reset, if you have reasonable confidence in “safety” of the existing backup, this can be restored to the device.
You may also wish to change passwords to any sensitive accounts or services (these may be included with your Apple KeyChain) - from another device not associated with your AppleID. Do not attempt changing passwords from your potentially compromised iPad until after a full reset has been carried out.