Consumer group Which? has written to the Treasury calling for urgent action to protect access to cash.