You can use vinegar and water to clean floors along with some dish soap or other soap to clean the hardwood floors.
Just make sure you dry the floors out really good and don't leave any standing water or vinegar solution on the floor otherwise you risk warping and damaging your hardwood floors.
Adding essential oils to the vinegar and water solution can help clean your hardwood floors much better and even give the floor a nice smell.
It's a great way to clean your hardwood floors naturally.