Analog cosmology with two-fluid systems