Ask first
A coach house may be protected in its own right. It may be covered by the protection of a larger house it once served, or stand in a conservation area. Any of these changes what may be done to it and what consent the local authority requires, and the rules differ from country to country and often from town to town. Whether the building may be lived in at all is a separate question again.
So the first step, before buying and well before building, is to ask the local planning office what applies to this particular building.
The big door
The carriage opening is what makes the building a coach house, and a good conversion keeps it legible. Filling it with wall and an ordinary window loses the point of the place.
A common answer is to keep the old doors, or new ones made like them, and to set the glazing back behind them in the depth of the wall. With the doors folded open the opening still reads as a doorway from the yard, and the room behind gets its light.
Structure
A wide opening puts a great deal of wall onto one arch or lintel. After a century or more an arch may have spread, and a timber lintel may have rotted at its ends. The loft floor was built to carry hay, which is not the same as carrying a bathroom. Wide openings and old lintels need a structural look before any design is fixed.
Floors
Stable and carriage-room floors were laid to fall toward drains, so they are not level, and they were seldom built with any barrier against damp. Levelling them takes up height, and the old drains under them have to be found and dealt with.
The loft
Lofts were made for hay, not for people. Headroom under the eaves can be short, the windows small and low, and the stair, where there was one, steep. Measure what height there really is before counting the loft as bedrooms.
Walls that breathe
Old solid walls of brick or stone need to breathe: they deal with damp by letting it dry out again. Seal them with hard, impermeable finishes and the moisture can be trapped inside the wall. Insulation and damp therefore need care, and materials suited to old walls.
In North America
A carriage house behind a main house is often wanted as a second dwelling on the lot, to rent out or for family. Whether that is allowed, and on what terms, varies from town to town.
Before buying or building, ask the local planning office. Nothing on this page replaces what they, and a surveyor or engineer who has seen the building, will tell you.