Detergent or bleach with water. Also mold can be pretty difficult to remove, if it was left for a while, it’ll keep growing back because the majority of it might be under the floor/tile or inside a wall, in which case you’ll need to call a professional to remove it.