When I worked in a restaurant, we cleaned the coffee pots every night by putting in salt, lemon slices, and ice, and giving it a good few swishes, left everything in there till morning. Germs don't like salt or acid, and the salt and ice acted as glass-safe abrasives.
That said, other's advice...