Physics informed machine learning and uncertainty propagation for multiphase transport in porous media