I have a Logitech keyboard that was acting up on me and squeaking when I type on it. It got so bad that I couldn’t take it anymore and went to find a way. Turns out that there’s a pretty cheap way to fix squeaky keyboards.
The solution? Silicone spray (Get it from Amazon). Silicone spray is pretty fantastic and is super slippery and non-reactive. So besides your keyboard, it can lubricate almost anything. It works especially well on porous items, such as plastic, but is also a good lubricant on hinges, locks, and so on.
I knew which keys were giving me the problems, so I used an old badge to pry them out, sprayed some silicone spray, and put the keys back. After which, everything was all good again!