How to add debounce on more than one button?

Yeah I put them on a digital pin since three pins are already occupied by the rgb led