To remove any item from a transaction, click on the bin icon to the right of the line:
Your item has now been removed from the current transaction.
To clear all items from the transaction at once, you can use the No Sale button. Please note that this will clear the set customer as well as the chosen item(s).