Bleach works well. However, if you don't rinse it well, rinse again, and rinse one more time, it will destroy your beer. Ok, maybe destroy is harsh, but it will ruin the flavor.
Don't ask how I know........
If you use it in the dishwasher run it through a full cycle with bleach and then run...