I would think Epoxy would be the simplest as it lends itself to small quantities better than other things. Silicone would work, but if you are talking from a tube, rather than mixing and buying bulk, it could be too thick to get a good even amount in the bottom.
I have been having similar thoughts as I really need o-rings (or travel limiters) for my Jailhouse Blues. Long drying Epoxy and using a syringe to inject equal amounts into each key seems the best method.
You can get two part silicone that is more liquid than the tube stuff, that can work the same as epoxy, and would be removable if necessary, but epoxy is more than likely a lot cheaper. Two tubes of Gorilla Glue would probably do a whole board.