deuce (n.) Look up deuce at Dictionary.com
late 15c., "the 2 in dice or cards," also "a roll of 2 in dice" (1510s), from Middle French deus (Modern French deux), from Latin duos (nominative duo) "two" (see two).

Became a mild oath by 1710, about 50 years after it was first attested in the sense of "bad luck, the devil, etc.," perhaps because two was the lowest score, and probably by similarity to Latin deus and related words meaning "god." Low German had der daus! in same sense 16c., which perhaps influenced the English form. Deuce coupe is 1940s hot-rodder slang for "souped up two-door car," especially a 1932 Ford. Related: Deuced; deucedly.