Any coffee that still has grounds at the bottom of the cup can be read. These grounds are usually very fine, almost like a powder. Much finer than the stuff employed with cofee makers.
The method I know of requires nothing so much as swirling the grounds with the bit of liquid that's left after the last sip about, then flipping the cup over on top of the saucer, which has been covered with a napkin. Dob't forget the napkin--it'll make everything so much easier.
The only ritual I've consistently seen connected with this is flipping the cup with your left hand, and then rotating it in its saucer three times clock-wise.
(The cups I'm talking about are tiny, like espresso cups, or smaller.)
Rotating is probably a good idea anyway; it tends to coat the interior of the cup better, so you don't end up with a blob of grounds down the side of the cup.
You let it sit until the grounds begin to dry and the liquid drains, about 5-10 minutes, sometimes even less. That way, the patterns are dry, or close to it, when you flip the cup back over.
The best kinds of coffee for this are Middle-Eastern style coffees. Turkish-style coffee, because of its traditional method of
preparation is one of the best. You don't have to have an ibrik, exactly; any similar vessel will do. If the sugar content is a problem, you can always omit or reduce it.
A similar process works for tea leaves. This means brewing loose-leaf tea and drinking it unflitered. Good quality black darjeeling works great for this, but any superior quality loose tea will do.
The dustier teas are useles, since no strainer is used; you'll get loose tea floating at the top, which will ruin reading attempts and taste
awful. The idea is to have the leaves sink to the bottom of the cup, which gets flipped over after the tea is drunk in a similar manner to the coffee cup.
With both of these divination methods, the cup you drink out of is your "fortune."
I don't know about books. I learned this from someone I used to know when I was a child. However, if you look up "tasseography" you should find resources on tea leaf reading. Coffee grounds might be harder to find stuff on. I know of one book, but it's in Greek, and will probably be useless to you.
Still, if you dig around on Google you should come up with at least some stuff, and that's a start.
Hope this helps!