As mentioned, the Prague Beer Museum locations are good. If you're going to the castle, a walk to Klášterní pivovar Strahov is definitely worthwhile (a bit touristy, but great setting and tasty beers).
There are also a number of more modern (geeky) places on/around Vinohradska (the main road...