use just some hot water and soap nothing fancy needed. though they do make a bunch of random stuff that i personal never tried. but Windex works too on the glass ones.
jesus christ, how do you not know how to clean a pipe? lol. you gotta keep that shit clean! rubbing alcohol + salt works great as mentioned(for a pipe put in in a ziplock and shake like crazy), I normally grab 420 cleaner from a headshop if i'm near one, works really well aswell. if its just a pipe you can boil it too.
yes or just boils some water, turn off the heat, then put your pipe(s) in there, then rinse the pipe(s) under warm water... be sure to move the pipe(s) under the water with a tongs or some thing so it gets a good soaking. maybe NSFW???
But I've heard rumors that boiling ceramic pipes could cause them to break... I dunno if I wanna take that chance, its been a part of my life for too long to make some careless mistake like that....I made it when I was 15!!!
then get some stuff from a head shop, like 950 said, but rinse it good before you smoke out of it again that shit is like gasoline