Double-click the upgrade card — it works whether it's in your inventory or in the powers/food menu at the bottom of your screen — then click the item you want to upgrade in your inventory. Warning: you can only apply two cards to a single item at a time!