List<ProcessInstance> approvalInstances = [SELECT Id, Status
FROM ProcessInstance
WHERE TargetObjectId = :acc.Id];
List<ProcessInstanceStep> approvalSteps = [SELECT Id, Comments
FROM ProcessInstanceStep
WHERE ProcessInstanceId IN :approvalInstances
ORDER BY CreatedDate DESC
LIMIT 2];
for (ProcessInstanceStep step : approvalSteps) {
System.debug('Comments: ' + step.Comments);
}