Custom connections between layers Keras
If i understand you correctly,To join two outputds layers into nextn layer input, use the following design:

out1 = keras.layers.YourLayer1(**params**)
 out2 = keras.layers.YourLayer2(**params**)
 NextLayer = keras.layers.YourLayer3(**params**)[out1, out2]