From a complex scalar field to the two-fluid picture of superfluidity