You can use diplomacy to transfer gold + resources between the two of you. You can't gift units on the campaign map, however. As mentioned in the other comment, if only one army is involved, the commander of that army can (temporarily, for that battle) gift units to the other person. So you can be (for example) two Lizardmen factions, or two Skaven factions, but not one Lizardmen faction and one Skaven faction. One thing to keep in mind is that in Warhammer 2 co-op, the two factions you control both have to be part of the same race.