The rates are posted at the front:
20min = 4,000
30min = 6,000
etc.
The announcer will say when you have 5 minutes left, and the girl will probably tell you as well. If you need more time just take out 2,000 and ask: juupun, enchoushite mo ii? (十分、延長してもいい?)