two bits (n.)
"quarter dollar," 1730, in reference to the Mexican real, a large coin that was divided into eight bits; see bit (n.1). Compare piece of eight (under piece (n.1)). Two bits thus would have equaled a quarter of the coin. Hence two-bit (adj.) "cheap, tawdry," first recorded 1929.