How to I clean laptop's keyboard without ruining it A lot of dust gets stuck in between keys
Disconnect keyboard from PC/Mac (if not a laptop): you don’t want to be pressing random keys. If a laptop, turn off.
Tip it upside down and give it a few shakes and a few good whacks.
Tip it back over and if needed, use a shaving brush or soft makeup brush (lots of soft bristles) and get as far under the keys as you can.
Can of compressed air if needed.
Wipe down with anything safe to use on plastic. I use window cleaner and a soft cloth (old T-shirt or a microfibre tea towel). Mr Sheen also works as does Armourall. Even warm water with a little dishwashing liquid is fine, just don't make the cloth more than damp.
If anything else like a stubborn breadcrumb is still lodged, gently lever key up a few mm and blow compressed air.
In fear of stating the obvious, the safest way is to use a vacuum cleaner to remove as much of the dust as possible. Then use an air duster to loosen any stubborn dust and vacuum AGAIN to remove the freshly-loosened material. This will get you the best result for the least effort. Anything beyond that will involve popping the keys out of the keyboard and using some kind of cleaning fluid and a cloth to remove dust/dirt.
Air duster would be the best bet to clean any electronic part as well hard to reach spaces without touching it, sometime body static can failed critical parts of the circuit.