amp step up and source's durability
It depends on what kind of motor it is. It will probably output AC. There's a chance that it might not output anything at all though. Some "induction" motors need something to kick start the rotor's magnetic field.

That aside, for any motor that you decide to use as an alternator, you can play around with them as described below, to see if it's appropriate. 

Connect a resistive load (A high power resistor) across the motor's terminals, and measure the voltage across it while it is being turned at the expected top speed. Try measuring DC voltage first - if it shows around zero volts, then it's probably AC. If you then measure AC and it shows nearly zero volts, it's probably an induction motor that won't work for you.

The resistor's value (both power rating in watts, and the resistance in ohms) should be determined as follows: 

If the motor runs off 220V, at 1.5A, then the power rating of the resistor should be this value or greater:

220 x 1.5 = 330 Watts

The resistance should be roughly:

220 / 1.5 = 147 ohms.

If anything, make it higher rather than lower. You should be able to source a 150 ohm resistor pretty easily. If necessary, you can build it yourself with resistance wire, making your own wire-wound resistor.

Once you know what sort of voltage waveform (AC/DC, peak voltage) and the sort of current (peak) you can then start working on a circuit which will use the electricity generated by it to charge your UPS system. This circuit depends highly on your findings from the above, and the requirements of your UPS system and how it will be used.

So I suggest you do the above, then ask another question, posting your findings (and the UPS requirements and how it will be used).

You will probably be able to use just about any motor - the question is how efficient will it be, which depends mostly on the motor's design, but other factors too. Some motors will work better as alternators than others.

Edit:

The steps you would then take would be:


Convert a 220v 1.5A AC supply to 22v 15A AC supply using a step-down transformer. Pretty much any AC to AC transformer such as those used to power low voltage halogen lights. However if your UPS is a 24V system, you will probably need an output more in the range of 33V/10A since for best efficiency the voltage will need to be a bit higher than the battery you're charging.
Use the output of that and convert it to an appropriate DC supply (look at mains to DC power supply circuits. It will need a rectifier as a minimum, but probably smoothing circuit and voltage regulator as well). 
Then finally you will use that DC supply to power a circuit that charges the battery. For that, research "Lead acid battery charging circuits". UPS 24v Lead acid batteries typically need a charging voltage of around 27V. You will also want to limit the current, too much charging current will damage them. Use the battery's datasheets to find out how best to charge them, then research circuits that will do the job.


The above is pretty involved. You would certainly have an awful lot of learning to do. Being safe is the most important thing, and at the voltages of your motors, you are playing with fire. I don't think anyone can instruct you at your level of electronics knowledge to do this from scratch safely. 

There is no way you're going to do this in a day. Nor a week. I'd be surprised if you managed it in a month. If you really want to get into this, I suggest a book called "The Art of Electronics". It will give you the theory behind everything you need to know (and more). But count yourself lucky if you complete this project within a year. I suggest biting the bullet and just importing a system that is ready to go.