You can cancel a transaction manually by opening the pending transaction in your transaction history and tapping on "Cancel Transaction".
Another way to cancel the transaction is via the confirmation email that you get when you initiate a CelPay transaction. There you can tap on the "Cancel CelPay" button and the transaction will automatically be cancelled.
If the transaction is not confirmed nor canceled, it will be automatically canceled after 7 days.