Foam drainage with twin inputs in two dimensions