You can comfortably put 2 beardies in a 4 x 2 x 2 cage as long as you provide good basking spots and they aren't both males (if they are a male/female group be ready for eggs...)
Where ever you put the UV make sure that there isn't any glass, or plastic in-between the bulb and the dragons, as glass/plastic blocks UV rays.