If the beams are initially in contact prior to loading, then eureka is correct in that as load is applied to the top beam, the two beams will each deflect equally, with the interface between the two beams sliding (horizontal shear effect).
If two unequal beams span the same amount, and deflect the same amount, the the bending moments and shears in each will be proportional to the relative stiffnesses of the two beams. So if beam A has an I = 100 and beam B has an I = 200, then beam B will take 2/3 (200/(100+200)) of the load and beam A will take 1/3.
If they aren't in initial contact, (a gap) then the top beam will take all the load until they come into contact, then the remaining load will be shared by the two as above.
All of these calculations are based on two distinct beams, each with their own Areas, moments of intertia, etc.
If you connect the two beams with adequate welds or bolts, then you prohibit the horizontal sliding I mentioned above and you've created a combined section - where you must calculate the total Area and Moment of Inertia for the two shapes made one.