Indeed, use triple-bac ointment (Neosporin is good) on the scratches, and make sure they're cleaned well. Since you were not bitten probably no worries in getting diseases from the potentially un-vaccinated cat, but their claws can have all kindsa nasty stuff in them.
I'm allergic to cats so...