It's not actually Spanish (the ending /ck/ is more english) but it's used because it's already an international word for the action of tapping a button whether real or virtual or the confirmation of that touch. It is clearly an onomatopoeia of the mechanism in mechanical pushbuttons for electricity.