Use Blend & Comp to apply basic blending and compositing between two inputs, and their mattes, over a background.
To access the Blend & Comp menu, use:
Batch, then select a node from the Node bin.
Timeline, then use Batch FX (see Creating Batch FX).
Tools, then select from the menu (See Accessing Tools).
The Modular Keyer, then select a node from the Node bin.
This node accepts up to two front and matte clips, as well as a back clip, and outputs a result and outmatte.