I let go of the door. The door opened and both the men came in.
That usage of "both" is grammatical in today's standard English. In your example, the word "both" is functioning as a predeterminer.
Your suggestion of "the door opened and both men came in" is fine too, where the word "both" is functioning as a determiner.
Here is an excerpt from the 2002 CGEL that's related to your question, on page 376:
Relation between determiner and predeterminer constructions
All and both are unique among the determinatives in that they function as either determiner or predeterminer:
[12]
- i. [ All / Both students ] failed the philosophy exam. -- [determiner]
- ii. [ All / Both the students ] failed the philosophy exam. -- [predeterminer]
With both such pairs are equivalent. Both students (in contrast to two students) is definite: it denotes the totality of an identifiable set. The expresses nothing more than definiteness, so adding it to the already definite both students has no effect on the meaning.
NOTE: The 2002 CGEL is the 2002 reference grammar by Huddleston and Pullum (et al.), The Cambridge Grammar of the English Language.
2It should be *both of the men came in* or both men came in. – Catija – 2015-04-09T23:10:16.673
If both the things is possible, why not men? :) – Maulik V – 2015-04-10T05:01:48.950
If you can remember the original YouTube video and write its title in your question and//or find a substitute link that would be great. – Mari-Lou A – 2016-12-14T23:51:24.340
@MaulikV Both the things does not sound like good English to my ears. – None – 2016-12-15T04:17:26.757
@C.M.Weimer 'both the things' is absolutely okay to my ears! Even news search support it.
– Maulik V – 2017-01-13T07:19:43.360