Use Domainr to see what's available.
Use DNSimple to buy and maintain domain names. If you already have a domain registered elsewhere, like GoDaddy, DNSimple provides a transfer service that makes it easy to switch.
Follow the Custom Domains tutorial to set up root and subdomains on Heroku.