I use a tiny gentle vacuum for the inside of my computer, actually.
As for compressed air, I have used it on things like my keyboard. There should be instructions on the can. Follow those safety instructions closely if you are worried about any issues.