Ukrainian President Volodymyr Zelensky was among many world leaders attending the Pope's funeral in St Peter's Square.