@TheKing is correct. Booming Blade does only target one creature, and its range is not self, so it is absolutely a valid target for Twinned Spell, but making an attack roll is not a part of the effect of the spell, it is a requirement of the action used to cast the spell. The proper order of operations would be:
1. You take the Cast a Spell action. As part of this action, you must be holding a weapon, a spellcasting focus, or a component pouch, you must perform the necessary verbal components, and you must make a melee weapon attack against a creature within the spell’s range (5 feet). Otherwise, the spell fails.
2. You spend 1 sorcery point to apply the effects of Twinned Spell to the spell.
3. You apply the effects of the spell to two targets.
The effects of Booming Blade are “On a hit, the target suffers the attack's normal effects, and it becomes sheathed in booming energy until the start of your next turn. If the target willingly moves be- fore then, it immediately takes 1d8 thunder damage, and the spell ends,” so you can apply that effect to two creatures, but have no way of hitting both of those targets with an attack, since you only make one as part of the Cast a Spell action.
Now, the above is consistent with a very technical reading of the text, but I do not believe it is consistent with the intended function of the spell. Booming Blade is a pretty kludgily-written spell, but it’s pretty obvious how it’s
supposed to work. I would certainly allow a player at my table to attack two targets with Twinned Booming Blade, even though that’s not technically what the text instructs you to do in that scenario.