There are various ways but the easiest is to use the createrawsendfrom API with the multisig address in the from-address parameter. You can pass sign for the last parameter and the first node will sign as much as it can. Then take the output, pass to signrawtransaction on the second node, and then sendrawtransaction with the result.