Most steam engines except those used on tourist railroads have been replaced with the more efficient steam turbine engines.
The 5.7-liter, V-8 engine powering the 2016 Toyota Tundra makes 381 horsepower at 5,600 rpm and 401 foot-pounds of torque at 3,600 rpm.
There is no direct relationship between engine size (cc or ci ) and horsepower. Hprsepower is a final product of all an engines functions and can be high in small engines that are highly tuned , or low in larger engines that are untuned.
For a mechanical engine, such as a steam engine, or an automotive engine, two parameters are important. These are the power output at a given speed, and the torque available at that speed.
The power would be measured in Horsepower, and the torque in foot-pounds. [In Imperial units.]
In metric units those would be kilowatts, and Newton-meters. It would be normal to make a plot of these parameters at various speeds.