The complex gas kinematics in the nucleus of the Seyfert 2 galaxy NGC 1386: rotation, outflows and inflows