Sadly you went a bit to far😩
Apple doesn’t make it easy, rarely can I put back the keycap. Time to replace the broken caps.
The clips tend to snap off in taken the cap off and there is a tricky process to putting them on as well with adding it to the trash heap.
Here’s my source [https://www.thebookyard.com/apple-keycaps.php?manufacturers_id=40|Apple Keycaps]
You might try going to the Apple Store see if they can replace the caps, but first figure out what doing it your self first as they will charge you.